import service from '@/utils/request'
export const animeGetCategory = (params) => {
  return service({
    url: '/anime/animeGetCategory',
    method: 'get',
    params
  })
}

export const animeGetidCategory = (params) => {
  return service({
    url:'/anime/animeGetidCategory',
    method:'get',
    params
  })
}

export const animeDeleteCategory = (params) => {
  return service({
    url:'/anime/animeDeleteCategory',
    method:'delete',
    params
  })
}

export const animeCreateCategory = (data) => {
  return service({
    url:'/anime/animeCreateCategory',
    method:'post',
    data
  })
}

export const animeUpdateCategory = (data) => {
  return service({
    url:'/anime/animeUpdateCategory',
    method:'put',
    data
  })
}
